/**
 * Created by minigci.he on 16/9/13.
 */
console.log('---------------------')
console.log('test10')


var handler = {
    has(target, key){
        if(key[0] === '_'){
            return false;
        }
        return key in target;
    }
}

var target = {_prop: 'foo', prop: 'foo'}
var proxy = new Proxy(target, handler);
console.log('_prop' in proxy)